﻿<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<configSections>
		<section
            name="hibernate-configuration"
            type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate"
        />
	</configSections>

	<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
		<session-factory>
			<property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
			<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
			<property name="connection.connection_string">Data Source=.\SqlExpress;Integrated Security=True</property>
			<property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>

			<mapping resource="AcademicPlanner.Data.Resources.NHMappings.PersonEntity.hbm.xml" assembly="AcademicPlanner.Data" />
			<mapping resource="AcademicPlanner.Data.Resources.NHMappings.AccountEntity.hbm.xml" assembly="AcademicPlanner.Data" />
		</session-factory>
	</hibernate-configuration>
</configuration>
